package com.itheima.mapper;

import com.itheima.domain.City;
import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {



    User findOne(@Param("email") String email, @Param("pwd") String password);


    List<User> findList();

    void add(User user);

    List<City> findAll();

    City findByCId(Integer cid);
}
